package cn.dugt.hotel.dao;

import cn.dugt.hotel.entity.User;
import org.springframework.stereotype.Component;

@Component
public interface UserDao {

     public String findByUsernameandPassword(String username,String password);

     public String findByUsernameandPasswordandRole(String username,String password,int role);

     public Integer insertUser(User user);

     public String findUsername(String username);
}
